/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.test;

import com.comac.ins.common.json.utils.JsonUtils;
import com.comac.ins.isfd.config.IsfdModelManagementOriginalPartConfig;
import com.comac.ins.isfd.domain.vo.IsfdModelManagementOriginalPartVo;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

@SpringBootTest
public class IsfdModelManagementOriginalPartConfigTest {
    @Autowired
    private IsfdModelManagementOriginalPartConfig isfdModelManagementOriginalPartConfig;

    @Test
    public void test1() {
//        String sectionName = "前机身";
//        List<String> sectionNameList = new ArrayList<>(Arrays.asList(sectionName.split(",")));
//        String partNumber = "5335C15071G75";
//        List<IsfdModelManagementOriginalPartVo> originalPartVoList = isfdModelManagementOriginalPartConfig.getOriginalPartVoList(sectionNameList, partNumber);
//        System.out.println(JsonUtils.toJsonString(originalPartVoList));
    }
}
